package priv.yiyuan.example.composite.approvar1;

/**
 * 审批请求类
 *
 * @author YiYuan
 * @data 2025/8/28
 * @apoNote
 */
public class ApprovalRequest {

    private String type;

    private double amount;

    private String content;

    public ApprovalRequest(String type, double amount, String content) {
        this.type = type;
        this.amount = amount;
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public double getAmount() {
        return amount;
    }

    public String getContent() {
        return content;
    }

    @Override
    public String toString() {
        return "[请求类型: " + type + ", 金额: " + amount + ", 内容: " + content + "]";
    }
}
